Microsoft DirectX 8.1 (C++)

IAMTimeline::AddGroup

The AddGroup method adds a group to the timeline.

Syntax

HRESULT AddGroup(
    IAMTimelineObj *pGroup
);

Parameters

pGroup

Pointer to the IAMTimelineObj interface of the group.

Return Value

Returns one of the following HRESULT values:

Return code Description
S_OK Success.
E_INVALIDARG Maximum number of groups exceeded.
E_NOINTERFACE The object is not a group.

Remarks

Currently, timelines support a maximum of 32 groups.

See Also